<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
 <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>登录首页</title>
<link rel="stylesheet" href="css/adminLogin.css">
</head>
<body>
	<div id="myAdmin">
		<img src="images/loginBj.gif" alt="" class="myimg">
		<form action="/shopping/loginAdmin.do" method="POST">
			<h2>管理员登录</h2>
			<input type="text" name="adminName" placeholder="admin">
			<c:if test="${!empty msg && msg eq '管理员不存在'}">
				<span class="red">管理员不存在</span>
			</c:if>
			<br>
			<input type="password" name="password" placeholder="password">
			<c:if test="${!empty msg && msg eq '密码错误'}">
				<span class="pass">密码错误</span>
			</c:if>
			<br>
			<input type="submit" value="登录">
		</form>
	</div>
</body>
</html>